package filter;

import filter.FilterSetup.SomeObject;

public class NameFilter extends Filter<SomeObject> {
	
	private final String name;
	
	public NameFilter(String name) {
		this.name = name;
	}
	
	@Override
	protected boolean matchesCriteria(SomeObject object) {
		return object.getName().equals(name);
	}

}
